package com.spider.common.bean.tender;

import com.xuxueli.crawler.annotation.PageFieldSelect;
import com.xuxueli.crawler.annotation.PageSelect;
import com.xuxueli.crawler.conf.XxlCrawlerConf;
import lombok.Data;

import java.util.List;

/**
 * @author marver
 * @Description 投标采购导航网
 * @date 2019/4/8 15:24
 */
@Data
@PageSelect(cssQuery = "table.zblis_con_c_20160113 > tbody, #center_box > div.lists_box > div.left_box.eye-protector-processed > div.lists_center")
public class TenderVo {
    @PageFieldSelect(cssQuery = "tr>td.huag_tit_20160113>a, ul > li > a", selectType = XxlCrawlerConf.SelectType.TEXT)
    private List<String> title;
    @PageFieldSelect(cssQuery = "tr>td.huag_tit_20160113>a, ul > li > a", selectType = XxlCrawlerConf.SelectType.ATTR, selectVal = "abs:href")
    private List<String> titleUrl;

    @Override
    public String toString() {
        return "PageVo{" +
                "title='" + title + '\'' +
                ", titleUrl='" + titleUrl + '\'' +
                '}';
    }
}
